import requests
import time
import re
import json
import random
import subprocess
import hashlib 



url_login = 'http://wyy.u8m6.cn/api.php?do=login'
url_sign = 'http://wyy.u8m6.cn/api.php?do=sign'
url_daka = 'http://wyy.u8m6.cn/api.php?do=daka'

uin = 13202020912
pwd = hashlib.md5(b'kjc520..').hexdigest()

class start:
        def login(self,cell,pwd):
            url = "http://wyy.u8m6.cn/api.php?do=login";
            data = {
                "uin":cell,
                "psw":pwd,
                'r':random.random()}
            t = requests.post(url,data);
            print(t.text)


def main_handler(event, context):
    s = start()
    return s
if __name__ == '__main__':
    s = start()
    s.login(uin,pwd);


